package one.stand.model.live;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 短视频
 * </p>
 *
 * @author luoyang
 * @since 2020-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ShortVideoDO对象", description="短视频")
public class ShortVideoModel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Integer videoId;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ApiModelProperty(value = "上传用户id")
    private Integer userId;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty(value = "播放量")
    private Integer playVolume ;

    @ApiModelProperty(value = "获客人数")
    private Integer guestsNum;

    @ApiModelProperty(value = "点赞次数")
    private Integer likesNum;

    @ApiModelProperty(value = "转发次数")
    private Integer forwardNum;

    @ApiModelProperty(value = "关注人数")
    private Integer attentionNum;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "deleted")
    private Integer deleted;

    @ApiModelProperty(value = "视频地址")
    private String url;

    @ApiModelProperty(value = "商品链接")
    private String link;


}
